<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.io.stream.DataFileStream</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.io.stream.DataFileStream";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.io.stream.DataFileStream.html" class="symbol">tango.io.stream.DataFileStream</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: Nov 2007
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="DataFileInput" href="./htmlsrc/tango.io.stream.DataFileStream.html#L26" kind="class" beg="26" end="66">DataFileInput</a> : DataInput; <a title="Permalink to this symbol" href="#DataFileInput" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L26">#</a></dt>
<dd class="ddef">
<div class="summary">Composes a seekable file with buffered binary input. A seek causes
        the input buffer to be cleared</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="DataFileInput.this" href="./htmlsrc/tango.io.stream.DataFileStream.html#L38" kind="ctor" beg="38" end="41">this</a><span class="params">(FileConduit <em>file</em>, uint <em>buffer</em> = uint.max, bool <em>flip</em> = false)</span>; <a title="Permalink to this symbol" href="#DataFileInput.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L38">#</a></dt>
<dd class="ddef">
<div class="summary">Wrap a FileConduit instance</div></dd>
<dt class="decl">long <a class="symbol _function" name="DataFileInput.seek" href="./htmlsrc/tango.io.stream.DataFileStream.html#L50" kind="function" beg="50" end="54">seek</a><span class="params">(long <em>offset</em>, Anchor <em>anchor</em> = Anchor.Begin)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DataFileInput.seek" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L50">#</a></dt>
<dd class="ddef">
<div class="summary">Set the file seek position to the specified offset, and 
                clear the input buffer</div></dd>
<dt class="decl">FileConduit <a class="symbol _function" name="DataFileInput.file" href="./htmlsrc/tango.io.stream.DataFileStream.html#L62" kind="function" beg="62" end="65">file</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DataFileInput.file" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L62">#</a></dt>
<dd class="ddef">
<div class="summary">Return the underlying conduit</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="DataFileOutput" href="./htmlsrc/tango.io.stream.DataFileStream.html#L76" kind="class" beg="76" end="116">DataFileOutput</a> : DataOutput; <a title="Permalink to this symbol" href="#DataFileOutput" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L76">#</a></dt>
<dd class="ddef">
<div class="summary">Composes a seekable file with buffered binary output. A seek causes
        the output buffer to be flushed first</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="DataFileOutput.this" href="./htmlsrc/tango.io.stream.DataFileStream.html#L88" kind="ctor" beg="88" end="91">this</a><span class="params">(FileConduit <em>file</em>, uint <em>buffer</em> = uint.max, bool <em>flip</em> = false)</span>; <a title="Permalink to this symbol" href="#DataFileOutput.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L88">#</a></dt>
<dd class="ddef">
<div class="summary">Wrap a FileConduit instance</div></dd>
<dt class="decl">long <a class="symbol _function" name="DataFileOutput.seek" href="./htmlsrc/tango.io.stream.DataFileStream.html#L100" kind="function" beg="100" end="104">seek</a><span class="params">(long <em>offset</em>, Anchor <em>anchor</em> = Anchor.Begin)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DataFileOutput.seek" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L100">#</a></dt>
<dd class="ddef">
<div class="summary">Set the file seek position to the specified offset, after 
                flushing the output buffer</div></dd>
<dt class="decl">FileConduit <a class="symbol _function" name="DataFileOutput.file" href="./htmlsrc/tango.io.stream.DataFileStream.html#L112" kind="function" beg="112" end="115">file</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#DataFileOutput.file" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.DataFileStream.html#L112">#</a></dt>
<dd class="ddef">
<div class="summary">Return the underlying conduit</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2007 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:01 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>